import com.myk.game.gobangchess.constants.AppConfig;
import com.myk.game.gobangchess.services.SocketServer;
import com.myk.game.gobangchess.constants.PathCost;
import com.myk.game.gobangchess.utils.ConfigUtils;
import com.myk.game.gobangchess.*;
import com.nicelee.http.core.FileServer;


public class Main {

    public static void main(String[] args) {

        //加载全局配置
        ConfigUtils.load(AppConfig.class, PathCost.APP_CONFIG_FILE);

        //加载各种数据
        DataManager.loadAppData();

        //开启文件服务
        FileServer.asyncStart();

        //开启游戏服务监听
        SocketServer.start();

    }

}
